package com.hfjyz.base.entity;

import java.util.HashSet;
import java.util.Set;

public class DepartEntity extends BaseEntity {
    private String departName;
    private String departRemark;
    private Set<AuthEntity> authorizations = new HashSet<AuthEntity>(0);
    private Set<UserEntity> users = new HashSet<UserEntity>(0);

    // Constructors

    /** default constructor */
    public DepartEntity() {
    }

    /** minimal constructor */
    public DepartEntity(String departName) {
        this.departName = departName;
    }

    /** full constructor */
    public DepartEntity(String departName, String departRemark, Set<AuthEntity> authorizations,
            Set<UserEntity> users) {
        this.departName = departName;
        this.departRemark = departRemark;
        this.authorizations = authorizations;
        this.users = users;
    }

    public String getDepartName() {
        return this.departName;
    }

    public void setDepartName(String departName) {
        this.departName = departName;
    }

    public String getDepartRemark() {
        return this.departRemark;
    }

    public void setDepartRemark(String departRemark) {
        this.departRemark = departRemark;
    }

    public Set<AuthEntity> getAuthorizations() {
        return this.authorizations;
    }

    public void setAuthorizations(Set<AuthEntity> authorizations) {
        this.authorizations = authorizations;
    }

    public Set<UserEntity> getUsers() {
        return this.users;
    }

    public void setUsers(Set<UserEntity> users) {
        this.users = users;
    }
}
